package com.ym.soso.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.base.enums.FlagEnum;
import com.ym.soso.enums.PublishStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 药店信息对象 pharmacy_info
 *
 * @author ym
 * @date 2020-09-02
 */
@ApiModel("药店信息-列表")
@Data
public class PharmacyInfoListPcVO implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("药店编码")
    private String theCode;

    @ApiModelProperty("药店名称")
    private String theName;

    @ApiModelProperty("介绍")
    private String introduction;

    @ApiModelProperty("icon图")
    private String icon;

    @ApiModelProperty("送药上门")
    private String theSend;

    @ApiModelProperty("营业时间")
    private String busTime;

    @ApiModelProperty("医生坐症")
    private String hasDoc;

    @ApiModelProperty("区域")
    private String area;

    @ApiModelProperty("省份")
    private String prov;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("国内排名")
    private Integer landRank;

    @ApiModelProperty("区域排名")
    private Integer areaRank;

    @ApiModelProperty("省排名")
    private Integer provRank;

    @ApiModelProperty("市级排名")
    private Integer cityRank;

    @ApiModelProperty("经度")
    private Double lng;

    @ApiModelProperty("纬度")
    private Double lat;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("联系电话")
    private String linkPhone;

    @ApiModelProperty("服务项目")
    private String serviceItem;

    @ApiModelProperty("趁车路线")
    private String thePath;

    @ApiModelProperty("标签")
    private String tags;

    @ApiModelProperty("创建人")
    private Long creSb;

    @ApiModelProperty("发布时间")
    private Date publishTime;

    @ApiModelProperty("创建时间")
    private Date creTime;

    @ApiModelProperty("发布状态")
    @JsonSerialize(converter = PublishStatusEnum.Covert.class)
    private String publishStatus;

    @ApiModelProperty("更新人")
    private Long uptSb;

    @ApiModelProperty("更新时间")
    private Date uptTime;

    @ApiModelProperty("删除标志")
    @JsonSerialize(converter = FlagEnum.Covert.class)
    private String deleted;

    @ApiModelProperty("发布人")
    private Long publisher;

}
